home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 900 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. Date: Wed, 19 Jan 94 15:30:33 MST
  2. From: shenson@nyx10.cs.du.edu (Stephen Henson)
  3. Message-Id: <9401192230.AA10191@nyx10.cs.du.edu>
  4. X-Disclaimer: Nyx is a public access Unix system run by the University
  5.     of Denver.  The University has neither control over nor
  6.     responsibility for the opinions or correct identity of users.
  7. To: groenink@let.ruu.nl, reschke@GOEDEL.UNI-MUENSTER.DE
  8. Subject: Re: dreaddir/fxattr
  9.  
  10. I'm still not sure about this. The delay of readdir/stat is caused by the
  11. multiple file lookups (e.g. several directory searches if it's a full path).
  12. Things which don't use the new syscall wont win. Also is it intended that the
  13. new library would use this syscall to reduce the work in certain situations
  14. (e.g. automatically with readdir).
  15.     Since this involves messing with the kernel, why not use a cookie 
  16. cache which is then backwards compatible and speeds up *all* multiple 
  17. operations on the same file (the lib is full of these) instead of just
  18. optimising the readdir/xattr case.
  19.     I could do this with an LRU cache in Minixfs lookup/readdir but it's
  20. best in the kernel to speed up all filesystems and to have path as opposed to
  21. directory dependency.
  22. Steve.
  23.